package com.cn.wanxi.thread;

public class MyRunnableTest {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            MyRunnable myRunnable = new MyRunnable();
            Thread thread = new Thread(myRunnable, "线程yi" + i);
            thread.start();
//            MyRunnable myRunnable1 = new MyRunnable();
            Thread thread1 = new Thread(myRunnable, "线程er" + i);
            thread1.start();
        }

    }


}
